<%@ Page language="c#" Inherits="Deepcode.Flux.Core.UI.AdministrationModulePage" %>
<%@ Register TagPrefix="Flux" Assembly="Deepcode.Flux.Core" Namespace="Deepcode.Flux.Core.UI.Controls" %>

<HTML>
<HEAD>
	<TITLE>Flux.NET ECMS</title>
	<LINK rel="stylesheet" type="text/css" href="../../../Asset/Style/GeneralStyle.css"/>
	<script language="javascript">
    
    // the content node browser is returning a url
    function SetContentNode( nodeid, nodename, nodepath )
    {
        if( window.parent != null )
            window.parent.SetUrl( "~" + nodepath );
    }
    // the asset browser is returning an asset
    function SetUrl( asset )
    {
        if( window.parent != null )
            window.parent.SetUrl( asset );
    }
	</script>
	
</HEAD>
<body bgcolor="#eaeaea">
<form runat="server" id="Form1">
<table width="100%" height="100%" cellspacing="5" cellpadding="0" border="0">
<tr><td>
    <Flux:TabBlock runat="server">
        <Flux:Tab ContainerID="containContent" Title="Link to content"/>
        <Flux:Tab ContainerID="containAssets" Title="Link to asset"/>
    </Flux:TabBlock>
</td></tr>
<tr><td height="100%">

    <Flux:TabContainer runat="server" ID="containContent">
        <iframe src="../main/browser.aspx" width="100%" height="100%"></iframe>
    </Flux:TabContainer>

    <Flux:TabContainer runat="server" ID="containAssets">
        <iframe src="../../Asset/default.aspx?browse=yes" width="100%" height="100%"></iframe>
    </Flux:TabContainer>

</td></tr>
</table>

</form>
</body>
</HTML>